QTINCLUDEDIR=/usr/include
QTMOCDIR=/usr/lib64/qt4/bin
KDEINCLUDEDIR=/usr/include/kde4
KDELIBDIR=/usr/lib64/kde4/devel
#/usr/lib64/qt4/bin/moc ./gui_qt/*.cpp
#gcc -c ./hardware/*.c ./interface/*.c ./utilities/var.c ./core/*.c -Iinterface -Icore -Iutilities -Ihardware
#g++ *.o ./gui_qt/*.cpp -Iinterface -Icore -Iutilities -Ihardware -I/usr/include/QtGui -I/usr/include/QtCore -lQtGui -lQtCore -DFPS=50 -o wabbitemu.bin
#grep -r -i '' *
rm *.o
$QTMOCDIR/moc ./gui_kde/screen.h -o ./gui_kde/moc_screen.cpp
$QTMOCDIR/moc ./gui_kde/calculator.h -o ./gui_kde/moc_calculator.cpp
gcc -c -w -D QTVER -DQTVER ./hardware/*.c ./interface/*.c ./utilities/var.c ./utilities/savestate.c ./utilities/sendfiles.c ./core/*.c -Iinterface -Icore -Iutilities -Ihardware -DFPS=50
g++ -D QTVER -DQTVER ./gui_kde/*.cpp *.o -I$KDEINCLUDEDIR -I$QTINCLUDEDIR/QtGui -I$QTINCLUDEDIR/QtCore -Iinterface -Icore -Iutilities -Ihardware -L$KDELIBDIR -lkdeui -lkdecore -lQtGui -lQtCore -lgd -lpng -lz -ljpeg -lfreetype -lm -o Release_gui_kde/wabbitemu.bin

# use the QTVER defined when compiling... -D QTVER
